/**
 * 文 件 名:  Content.java
 * 版      权:  财之道  Copyright ©2011-2015 All Rights Reserved
 * 描      述:  
 */
package com.czd.support.model;

import java.util.Date;

import org.apache.ibatis.type.Alias;

import com.czd.base.model.Page;

/**
 * @Description  内容实体类
 * 
 * @Author  Jun.Yang
 * @Date    2015年1月5日 上午10:54:52
 * @Version v1.0
 */
@Alias("content")
public class Content  extends Page {
	private static final long serialVersionUID = -8821108458213908903L;

	/**
	 * 自增主键
	 */
	private int id;
	
	/**
	 * 内容标题
	 */
	private String title;
	/**
	 * 简短标题
	 */
	private String shortTitle;
	/**
	 * 简短描述
	 */
	private String discription;
	/**
	 * 内容主体
	 */
	private String body;
	/**
	 * 内容来源
	 */
	private String origin;
	/**
	 * 来源链接
	 */
	private String originUrl;
	/**
	 * 标题图片
	 */
	private String  titleImg;
	/**
	 * 是否有标题图片 (0:表示没有；1：表示有）
	 */
	private int hasTitleImg;
	/**
	 * 栏目编号
	 */
	private int code;
	/**
	 * 创建人
	 */
	private int createUser;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 修改人
	 */
	private int updateUser;
	/**
	 * 修改时间
	 */
	private Date updateTime;
	/**
	 * 发布时间
	 */
	private Date releaseTime;
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}
	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}
	/**
	 * @return the shortTitle
	 */
	public String getShortTitle() {
		return shortTitle;
	}
	/**
	 * @param shortTitle the shortTitle to set
	 */
	public void setShortTitle(String shortTitle) {
		this.shortTitle = shortTitle;
	}
	public String getDiscription() {
		return discription;
	}
	public void setDiscription(String discription) {
		this.discription = discription;
	}
	/**
	 * @return the body
	 */
	public String getBody() {
		return body;
	}
	/**
	 * @param body the body to set
	 */
	public void setBody(String body) {
		this.body = body;
	}
	public String getOrigin() {
		return origin;
	}
	public void setOrigin(String origin) {
		this.origin = origin;
	}
	/**
	 * @return the originUrl
	 */
	public String getOriginUrl() {
		return originUrl;
	}
	/**
	 * @param originUrl the originUrl to set
	 */
	public void setOriginUrl(String originUrl) {
		this.originUrl = originUrl;
	}
	/**
	 * @return the titleImg
	 */
	public String getTitleImg() {
		return titleImg;
	}
	/**
	 * @param titleImg the titleImg to set
	 */
	public void setTitleImg(String titleImg) {
		this.titleImg = titleImg;
	}
	/**
	 * @return the hasTitleImg
	 */
	public int getHasTitleImg() {
		return hasTitleImg;
	}
	/**
	 * @param hasTitleImg the hasTitleImg to set
	 */
	public void setHasTitleImg(int hasTitleImg) {
		this.hasTitleImg = hasTitleImg;
	}
	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(int code) {
		this.code = code;
	}
	/**
	 * @return the createUser
	 */
	public int getCreateUser() {
		return createUser;
	}
	/**
	 * @param createUser the createUser to set
	 */
	public void setCreateUser(int createUser) {
		this.createUser = createUser;
	}
	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * @return the updateUser
	 */
	public int getUpdateUser() {
		return updateUser;
	}
	/**
	 * @param updateUser the updateUser to set
	 */
	public void setUpdateUser(int updateUser) {
		this.updateUser = updateUser;
	}
	/**
	 * @return the updateTime
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
	/**
	 * @param updateTime the updateTime to set
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	/**
	 * @return the releaseTime
	 */
	public Date getReleaseTime() {
		return releaseTime;
	}
	/**
	 * @param releaseTime the releaseTime to set
	 */
	public void setReleaseTime(Date releaseTime) {
		this.releaseTime = releaseTime;
	}
	@Override
	public String toString() {
		return "Content [id=" + id + ", title=" + title + ", shortTitle="
				+ shortTitle + ", discription=" + discription + ", body="
				+ body + ", originUrl=" + originUrl + ", titleImg=" + titleImg
				+ ", hasTitleImg=" + hasTitleImg + ", code=" + code
				+ ", createUser=" + createUser + ", createTime=" + createTime
				+ ", updateUser=" + updateUser + ", updateTime=" + updateTime
				+ ", releaseTime=" + releaseTime + "]";
	}
}
